package com.zhiyou.homework.compare;

import com.zhiyou.homework.pojo.Course;

import java.util.Comparator;

public class CourseCompare implements Comparator<Course>{
    @Override
    public int compare(Course o1, Course o2) {
        return o1.getCid()-o2.getCid();
    }
}
